<template>
	<view style="background-color:#f5f5f1 ;color:#928e8a ;" class="py-2 mx-1 flex justify-center align-center rounded" @click="goSearch">
		<uni-icons color="#707070 " type="search" size="20"></uni-icons>
		<text class="ml-2">{{placeholder}}</text>
	</view>
</template>

<script>
	export default {
		name:"f-search-bar",
		props:{
			placeholder :{
				type:String,
				default:'请输入搜索内容'
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			goSearch() {
				this.$navigateTo('/pages/search/search')
			}
		},
	}
</script>

<style lang="less">

</style>
